package com.ebanma.cloud.user.api.model;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableLogic;

/**
 * <p>
 * 
 * </p>
 *
 * @author wangxin
 * @since 2023-02-15
 */
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 登录账号
     */
    private String userId;

    private String password;

    private String nickname;

    private Integer age;

    private String phone;

    private String hobby;

    private Integer isLogin;

    private LocalDateTime gmtCreate;

    private LocalDateTime gmtModified;

    private Long createUser;

    private Long modifyUser;
    @TableLogic(value = "0")
    private Integer isDeleted;

    private String backupOne;

    private String backupTwo;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }
    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }
    public Integer getIsLogin() {
        return isLogin;
    }

    public void setIsLogin(Integer isLogin) {
        this.isLogin = isLogin;
    }
    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }
    public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }
    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }
    public Long getModifyUser() {
        return modifyUser;
    }

    public void setModifyUser(Long modifyUser) {
        this.modifyUser = modifyUser;
    }
    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }
    public String getBackupOne() {
        return backupOne;
    }

    public void setBackupOne(String backupOne) {
        this.backupOne = backupOne;
    }
    public String getBackupTwo() {
        return backupTwo;
    }

    public void setBackupTwo(String backupTwo) {
        this.backupTwo = backupTwo;
    }

    @Override
    public String toString() {
        return "User{" +
            "id=" + id +
            ", userId=" + userId +
            ", password=" + password +
            ", nickname=" + nickname +
            ", age=" + age +
            ", phone=" + phone +
            ", hobby=" + hobby +
            ", isLogin=" + isLogin +
            ", gmtCreate=" + gmtCreate +
            ", gmtModified=" + gmtModified +
            ", createUser=" + createUser +
            ", modifyUser=" + modifyUser +
            ", isDeleted=" + isDeleted +
            ", backupOne=" + backupOne +
            ", backupTwo=" + backupTwo +
        "}";
    }
}
